package com.ruoyi.project.hissystem.service;

import com.ruoyi.project.hissystem.domain.HisDepartment;
import com.ruoyi.project.system.domain.SysPost;

import java.util.List;

/**
 * @author : 杨磊
 * @date : 21:48 2021/8/17
 */
public interface HisDepartmentService {

    /**
     * 动态查询科室信息集合
     *
     * @param hisDepartment 科室信息
     * @return 岗位列表
     */
    public List<HisDepartment> selectDepartmentList(HisDepartment hisDepartment);

    /**
     * 新增科室信息
     *
     * @param hisDepartment 科室信息
     * @return 结果
     */
    public int insertDepartment(HisDepartment hisDepartment);


    /**
     * 通过科室ID查询科室信息
     *
     * @param departId 科室ID
     * @return 角色对象信息
     */
    public HisDepartment selectDepartmentById(Long departId);

     /**
     * 修改科室信息
     *
     * @param hisDepartment 科室信息
     * @return 结果
     */
    public int updateDepartment(HisDepartment hisDepartment);

     /**
     * 批量删除科室信息
     *
     * @param departIds 需要删除岗科室ID
     * @return 结果
     * @throws Exception 异常
     */
    public int deleteDepartmentByIds(Long[] departIds);



}
